import request from '@/utils/request'

// 轮播图数据
export function getBannerList () {
  return request.get('/banner/list')
}
// 秒杀列表数据
export function getSeckilllist (params) {
  return request.get('/pro/seckilllist', { params:params })
}
// 产品列表数据
export function getProList (params) {
  return request.get('/pro/list', { params })
}


// 获取详情页数据
export function getDetail(proid){
  return request.get("/pro/detail/"+proid)
}

// axios.get("url",{params:{username:'zs',age:18}})

// 详情 猜你喜欢 - 推荐
export function getRecommendList (params) {
  return request.get('/pro/recommendlist', { params })
}